package com.hz.email.entity;

import java.util.Date;
import java.util.List;

public class TEmail {
    private String id;
    private String to;
    private String subject;
    private String content;
    private String smtp;
    private String host;
    private String sendName;
    private String sendPort;
    private String userName;
    private String userPwd;
    private Date createTime;
    private Date updateTime;
    private int isDel;
    private List<String> ids;

    private int pageIndex;
    private int pageSize;

    public List<String> getIds() {
        return ids;
    }

    public void setIds(List<String> ids) {
        this.ids = ids;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSmtp() {
        return smtp;
    }

    public void setSmtp(String smtp) {
        this.smtp = smtp;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    public String getSendPort() {
        return sendPort;
    }

    public void setSendPort(String sendPort) {
        this.sendPort = sendPort;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public TEmail() {
    }

    public TEmail(String id, String to, String subject, String content, String smtp, String host, String sendName, String sendPort, String userName, String userPwd, Date createTime, Date updateTime, int isDel, List<String> ids, int pageIndex, int pageSize) {
        this.id = id;
        this.to = to;
        this.subject = subject;
        this.content = content;
        this.smtp = smtp;
        this.host = host;
        this.sendName = sendName;
        this.sendPort = sendPort;
        this.userName = userName;
        this.userPwd = userPwd;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDel = isDel;
        this.ids = ids;
        this.pageIndex = pageIndex;
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "TEmail{" +
                "id='" + id + '\'' +
                ", to='" + to + '\'' +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                ", smtp='" + smtp + '\'' +
                ", host='" + host + '\'' +
                ", sendName='" + sendName + '\'' +
                ", sendPort='" + sendPort + '\'' +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDel=" + isDel +
                ", ids=" + ids +
                ", pageIndex=" + pageIndex +
                ", pageSize=" + pageSize +
                '}';
    }
}
